package com.gdut.simple.contract;

import com.gdut.simple.basic.IPresenter;
import com.gdut.simple.basic.IView;
import com.gdut.simple.data.entity.Comment;
import com.gdut.simple.data.entity.Post;
import com.gdut.simple.data.entity.User;

import java.util.List;

public interface PostDetailContract {

    interface View extends IView<Presenter> {

        Post getPost();

        User getUser();

        String getComment();

        List<Comment> getItemList();

        void refreshList();

    }


    interface Presenter extends IPresenter {
        void getCommentList();

        void comment();
    }

}
